package com.itheima.a13innerclassdemo02;

/***
 *@title Outer
 *@description <TODO description class purpose>
 *@author 12468
 *@version 1.0.0
 *@create 2024-10-30 23:22
 **/
public class Outer {
    private int a = 10;

    class Inner {
        private int a = 20;
        public void show() {
            int a = 30;
            // Outer.this 就是外部类对象的地址值
            System.out.println(Outer.this.a); // 10
            System.out.println(this.a); // 20
            System.out.println(a); // 30
        }
    }

}
